﻿using System;
using System.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VSTODemo;

namespace UnitTestProject1 {
    [TestClass]
    public class UnitTest1 {
        [TestMethod]
        public void TestListEmployees() {
            DataTable employees = EmployeeService.ListAll();

            foreach(DataRow employee in employees.Rows) {
                foreach (DataColumn col in employees.Columns)
                    Console.WriteLine(employee[col]);
            }

        }
    }
}
